package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单详情的实体类
 */

public class GoodsDemandMessageEntity extends BaseEntity {


    /**
     * data : {"id":"类型: java.lang.Long 描述: id","planSn":"类型: java.lang.String 描述: 计划编号","planSubject":"类型: java.lang.String 描述: 计划主题","sn":"类型: java.lang.String 描述: 需求编号","demandName":"类型: java.lang.String 描述: 需求名称","applicantName":"类型: java.lang.String 描述: 申请人","deptName":"类型: java.lang.String 描述: 申请部门","useDept":"类型: java.lang.String 描述: 使用单位","submitDateLabel":"类型: java.lang.String 描述: 申请日期","transformStatusLabel":"类型: java.lang.String 描述: 单据状态","demandItems":[{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}],"confirmLogs":[{"operation":"类型: com.flyoil.entity.sys.ConfirmLog$Operation 描述: 进行的操作","username":"类型: java.lang.String 描述: 操作者昵称","desc":"类型: java.lang.String 描述: 意见","nodeLabel":"类型: java.lang.String 描述: 节点","appliedTimeLabel":"类型: java.lang.String 描述: 批准时间"}],"files":[{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 类型: java.lang.Long 描述: id
         * planSn : 类型: java.lang.String 描述: 计划编号
         * planSubject : 类型: java.lang.String 描述: 计划主题
         * sn : 类型: java.lang.String 描述: 需求编号
         * demandName : 类型: java.lang.String 描述: 需求名称
         * applicantName : 类型: java.lang.String 描述: 申请人
         * deptName : 类型: java.lang.String 描述: 申请部门
         * useDept : 类型: java.lang.String 描述: 使用单位
         * submitDateLabel : 类型: java.lang.String 描述: 申请日期
         * transformStatusLabel : 类型: java.lang.String 描述: 单据状态
         * demandItems : [{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]
         * confirmLogs : [{"operation":"类型: com.flyoil.entity.sys.ConfirmLog$Operation 描述: 进行的操作","username":"类型: java.lang.String 描述: 操作者昵称","desc":"类型: java.lang.String 描述: 意见","nodeLabel":"类型: java.lang.String 描述: 节点","appliedTimeLabel":"类型: java.lang.String 描述: 批准时间"}]
         * files : [{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url"}]
         */

        private int id;
        private String planSn;
        private String planSubject;
        private String sn;
        private String demandName;
        private int applicantId;
        private String applicantName;
        private String deptName;
        private String useDept;
        private String submitDateLabel;
        private List<DemandItemsBean> demandItems;
        private List<OrderSignatureEntity> confirmLogs;
        private List<OrderFilesEntity> files;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public int getApplicantId() {
            return applicantId;
        }

        public void setApplicantId(int applicantId) {
            this.applicantId = applicantId;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPlanSn() {
            return planSn;
        }

        public void setPlanSn(String planSn) {
            this.planSn = planSn;
        }

        public String getPlanSubject() {
            return planSubject;
        }

        public void setPlanSubject(String planSubject) {
            this.planSubject = planSubject;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getDemandName() {
            return demandName;
        }

        public void setDemandName(String demandName) {
            this.demandName = demandName;
        }

        public String getApplicantName() {
            return applicantName;
        }

        public void setApplicantName(String applicantName) {
            this.applicantName = applicantName;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public String getUseDept() {
            return useDept;
        }

        public void setUseDept(String useDept) {
            this.useDept = useDept;
        }

        public String getSubmitDateLabel() {
            return submitDateLabel;
        }

        public void setSubmitDateLabel(String submitDateLabel) {
            this.submitDateLabel = submitDateLabel;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public List<DemandItemsBean> getDemandItems() {
            return demandItems;
        }

        public void setDemandItems(List<DemandItemsBean> demandItems) {
            this.demandItems = demandItems;
        }



        public static class DemandItemsBean {
            /**
             * id : 0
             * materialName : 类型: java.lang.String 描述: 物资名称
             * model : 类型: java.lang.String 描述: 规格/型号
             */

            private int id;
            private String materialName;
            private String model;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMaterialName() {
                return materialName;
            }

            public void setMaterialName(String materialName) {
                this.materialName = materialName;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }
        }



    }
}
